make flat display works, but it might not be a good way
use window.location.hash