Revert "add codes to trigger the master's view appear and disapper related methods."

This reverts commit 5835522b3b318834f53bda4483b0ebc31876583b.