added style with more calcs
wide working
added vertical mode