fixed issue with missing next prev close buttons