Ajax navigation fix