Fixed getContainer function, show and hide.