added pannels and orientation detection basic