add RTL support to front page