checking webkit flex direction