add general function to insert css rules
add function to find size that fit the parent element
add top and left position values in function to find fitting size
add overflow and no wrap for slide elements
add function for arrow navigation; set first slide to be displayed at initial