fixed back and forward button events