Menu switched to rightside on jquery