hopefully fixing cross browser bs.
observe hash change and update slide index