Revert "added closeDisplay"

This reverts commit 7f7aca63b86cd72c951da8836d6408658bbe5622.